<%-- 
    Document   : FormPemesanan
    Created on : 04 Des 12,  
    Author     : wisnu
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE html>
<jsp:useBean id="Pemesan" scope="application" class="com.bp.Pemesan"/>
<%
    String Id_paket= request.getParameter("id_paket");
    String nama_paket = request.getParameter("nama_paket");
    String harga_paket= request.getParameter("harga_paket");
%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>FormPemesanan</title>
    </head>
    <body class="backround">
        <style type="text/css">
            .backround{background-image: url("img/background.jpg");
            }
            .menu-top a{color:darkgray;width:auto;float:left;display:block;
                        text-align:center;
                        padding:6px 0 0;
                        -transition:border linear .2s,color linear .2s;
                        -moz-transition:border linear .2s,color linear .2s;
                        -webkit-transition:border linear .2s,color linear .2s;
                        -o-transition:border linear .2s,color linear .2s;}
            .menu-top a:hover{color:#fff;}
            .hover a:hover{color: #ffffff}
            .timeline-header a
            {padding:5px;color:#ccc;
             -transition:border linear .2s,color linear .2s;
             -moz-transition:border linear .2s,color linear .2s;
             -webkit-transition:border linear .2s,color linear .2s;
             -o-transition:border linear .2s,color linear .2s;}

        </style>

    </body>
    <body>
    <center> <a href="FormUtama.jsp"><img src="img/logo gredy.jpg" width="1350" height="120"/></a></center>

    <body>
        <form action="pesanpaket" method="POST">
            <%

                if (request.getAttribute("message") != null) {
                    out.print(request.getAttribute("message"));
                }
            %>
            <% com.bp.DbBean_1 kon = new com.bp.DbBean_1();%>
 
            <p>
            <table width="416" border="0">
                <tr>
                    <td width="191">&nbsp;</td>
                    <td width="144">&nbsp;</td>
                    <td width="59">&nbsp;</td>
                </tr>
                <tr>
                    <td><label>Id Pemesanan</label>&nbsp;</td>
                    <td><label>
                            <input type="text" name="id_pesan" value="<%= Pemesan.getKode_Pesanan()%>" id="textfield" />
                        </label></td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td>Nama</td>
                    <td><label>
                            <input type="text" name="nama_pemesan" id="textfield2" />
                        </label></td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td>Alamat</td>
                    <td><label>
                            <input type="text" name="Alamat_pemesan" id="textfield3" />
                        </label></td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td>Email</td>
                    <td><label>
                            <input type="text" name="email_pemesan" id="textfield4" />
                        </label></td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td>No Telp</td>
                    <td><label>
                            <input type="text" name="no_telp_pemesan" id="textfield5" />
                        </label></td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td>Nama Paket</td>
                    <td><label>
                            <input type="text" name="nama_paket" value="<%=nama_paket%>" id="textfield6" />
                        </label></td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td>Id Paket</td>
                    <td><label>
                            <input type="text" name="id_paket" value="<%=Id_paket%>" id="textfield7" />
                        </label></td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td>Harga</td>
                    <td><label>
                            <input type="text" name="harga" value="<%=harga_paket%>" id="textfield8" />
                            <form method="post" action="FormKonfirmasi.jsp">
                                <input type="hidden" name="harga" value="harga" />
                            </form>
                        </label></td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td>Jumlah Wisatawan</td>
                    <td><label>
                             <input type="text" name="jumlah_orang" id="textfield9" />
                            
                        </label></td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td>Tanggal Keberangkatan</td> 
                    <td><input type="text" name="tgl_k" id="textfield10" /></td>
                    <td>(DD/MM/YYYY)</td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td><label>
                            <input type="submit" name="pesan" id="button2" value="Pesan" />
                            <form method="post" action="FormKonfirmasi.jsp">
                               <input type="hidden" name="jumlah_orang" value="jumlah_orang" />
                            </form>
                        </label>
                        <label>
                            <input type="reset" value="Batal" name="Batal" />
                        </label></td>
                    <td>&nbsp;</td>
                </tr>
                </tr>
            </table>
            &nbsp;
        </p>
    </form>
</body>
</html>